package com.angel.bo.business.service;

import com.angel.bo.beans.webstart.WebStart;
import com.angel.bo.common.msg.WebReturn;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

public interface WebStartService {

    /**
     * 动态生成JNLP文件
     * @param webStart
     * @return
     */
    WebReturn dynamicGenerationJNLP(WebStart webStart);


    void downloadWebExecuteOJar(String jarName, HttpServletRequest request, HttpServletResponse response)throws IOException;
}
